When using default style mode, all styles in the control will use pre-defined styles according to the selected theme. In previous release, when a style is modified, the default style for that element will be removed and replaced with the custom style. For example: when BackColor=Red is specified in FrameStyle, all the other default style, such as font style, border style, and other styles, specified for FrameStyle will be removed. With this limitation, developer is forced to redefine the removed default style when he wants to modify a style.
Using Allow Style Merging feature available in WebUI Framework, custom style can be added without losing the original default style. So in the above example, the font style, border style and the other styles specified in FrameStyle will be persisted when BackColor=Red is added. Both style definitions will be combined in FrameStyle.
To disable this feature, simply change AllowStyleMerging property to False.
In This Section
How-to: Allow Style Merging in WebTextEditor